package audit

import (
	"github.com/gin-gonic/gin"
)

type EducationVerificationRouter struct{}

func (r *EducationVerificationRouter) InitEducationVerificationRouter(Router *gin.RouterGroup) {
	educationRouter := Router.Group("education")
	{
		educationRouter.POST("create", EducationApi.CreateOrUpdateEducationVerification)   // 创建学历认证
		educationRouter.GET("get", EducationApi.GetEducationVerification)                  // 获取学历认证
		educationRouter.PUT("approve", EducationApi.ApproveEducationVerification)          // 审核通过
		educationRouter.PUT("reject", EducationApi.RejectEducationVerification)            // 审核不通过
		educationRouter.GET("getPending", EducationApi.GetPendingEducationVerifications)   // 获取所有未审核学历认证
		educationRouter.GET("getApproved", EducationApi.GetApprovedEducationVerifications) // 获取所有已审核学历认证
	}
}
